package class_0822Graph;

/**
 * @author 90774
 */
public class Edge {
    public int weight;
    //边关联的两个顶点
    public Node from;
    public Node to;
    public Edge(int weight, Node from, Node to){
        this.weight = weight;
        this.from = from;
        this.to = to;
    }
}
